#include "FieldStruct.h"
#include "Level.h"
#include "ImgMgr.h"

FieldStruct::FieldStruct() : RessourceStruct()
{
}

void FieldStruct::init(const sf::Vector2f position, ImgMgr *imageManager)
{
	m_skin = imageManager->getSprite(11);
	m_vie = 20;
	m_name = "Ble";
	RessourceStruct::init(sf::Vector2f((float)random((int)position.x - 2, (int)position.x + 2), (float)random((int)position.y - 2, (int)position.y + 2)), imageManager);
}

